using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("warehouse")]
    public class Warehouse : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}

         /// <summary>
         /// 仓库名称
         /// </summary>
         [Comment("仓库名称")]
         [Column("warehouse_name")]
         public string  WarehouseName{ get; set;} = string.Empty;

         /// <summary>
         /// 仓库管理人
         /// </summary>
         [Comment("仓库管理人")]
         [Column("manager")]
         public long  Manager{ get; set;}

         /// <summary>
         /// 邮箱
         /// </summary>
         [Comment("邮箱")]
         [Column("email")]
         public string  Email{ get; set;} = string.Empty;

         /// <summary>
         /// 号码
         /// </summary>
         [Comment("号码")]
         [Column("tel")]
         public string  Tel{ get; set;} = string.Empty;

         /// <summary>
         /// 城市
         /// </summary>
         [Comment("城市")]
         [Column("city")]
         public int  City{ get; set;}

         /// <summary>
         /// 地址
         /// </summary>
         [Comment("地址")]
         [Column("address")]
         public string  Address{ get; set;} = string.Empty;

         /// <summary>
         /// 紧急联系号码
         /// </summary>
         [Comment("紧急联系号码")]
         [Column("emergency_tel")]
         public string  EmergencyTel{ get; set;} = string.Empty;

         /// <summary>
         /// 总容积
         /// </summary>
         [Comment("总容积")]
         [Column("capacity_total")]
         public decimal  CapacityTotal{ get; set;}

         /// <summary>
         /// 已使用容积
         /// </summary>
         [Comment("已使用容积")]
         [Column("capacity_used")]
         public decimal  CapacityUsed{ get; set;}
[Column("update_userId")]
         public string  UpdateUserid{ get; set;} = string.Empty;

    }
}
          
